package com.atguigu.blog.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author MikeCoder
 * @create 2023-11-2418:51
 * @description:
 * @verson:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "文章")
public class Article {
  @Schema(description = "文章id")
  private Long id;
  @Schema(description = "文章标题")
  private String title;
  @Schema(description = "文章内容")
  private String content;
  @Schema(description = "分类id")
  private Long cid;
  @Schema(description = "用户id")
  private Long uid;
  @Schema(description = "创建时间")
  private Date createTime;
  @Schema(description = "修改时间")
  private Date updateTime;
}
